package test;

import java.util.Scanner;

public class test3 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个整数：");
        int number1=sc.nextInt();
        System.out.println("请输入另外一个整数：");
        int number2=sc.nextInt();
        boolean resoult= number1 == 6 || number2 == 6 || (number1 + number2) % 6 == 0 ;
        System.out.println(resoult);

    }
}
